package com.eastfair.venuebooking.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;

/**
 * 客户统计 VO.
 *
 * @author dqq
 * @date 2022 /7/6
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "CustomerStatisticsVO", description = "客户统计VO")
public class CustomerStatisticsVO implements Serializable {

    private Map<String, Object> echoMap = new HashMap<>();

    @ApiModelProperty("客户ID")
    private Long id;

    @ApiModelProperty("累计办展届数")
    private Long exhibitionCount;

    @ApiModelProperty("消费总金额")
    private BigDecimal consumeAmount;

    @ApiModelProperty("累计预定面积")
    private Double totalPriceArea;

    @ApiModelProperty("预定场地数量")
    private Long spaceCount;

    @ApiModelProperty("联系人数量")
    private Long contactCount;

    @ApiModelProperty("商机数量")
    private Long businessOpportunityCount;

    @ApiModelProperty("跟进记录数量")
    private Long followRecordCount;

    @ApiModelProperty("归属数量")
    private Long belongToCount;
}